package com.modules.bean;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import com.gml.gao.BR;

import java.util.ArrayList;

/**
 * Created by gml on 17/1/6.
 */

public class User extends BaseObservable {


    private int itemViewType;

    public int getItemViewType() {
        return itemViewType;
    }

    public void setItemViewType(int itemViewType) {
        this.itemViewType = itemViewType;
    }



    private String user_id;
    private  String username;


    @Bindable
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
        notifyPropertyChanged(BR.username);
    }



    // = new ObservableField<>();

    private String id;
    private String name;
    private String nickname;
    private String sex;
    private String type;
    private String face;

    private String profile_image_url;
    private String identity;
    private String career; //
    private String easemob_name; //
    private String random_string;
    private String answer_price;
    private String income;
    private boolean answer_set;
    private String phone_number;
    private String city;
    private String country;
    private String emaiString;
    private String has_card;
    private ArrayList<String> imgidArrayList = new ArrayList<String>();



    public User() {
    }


    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public String getProfile_image_url() {
        return profile_image_url;
    }

    public void setProfile_image_url(String profile_image_url) {
        this.profile_image_url = profile_image_url;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public String getEasemob_name() {
        return easemob_name;
    }

    public void setEasemob_name(String easemob_name) {
        this.easemob_name = easemob_name;
    }

    public String getRandom_string() {
        return random_string;
    }

    public void setRandom_string(String random_string) {
        this.random_string = random_string;
    }

    public String getAnswer_price() {
        return answer_price;
    }

    public void setAnswer_price(String answer_price) {
        this.answer_price = answer_price;
    }

    public String getIncome() {
        return income;
    }

    public void setIncome(String income) {
        this.income = income;
    }

    public boolean isAnswer_set() {
        return answer_set;
    }

    public void setAnswer_set(boolean answer_set) {
        this.answer_set = answer_set;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getEmaiString() {
        return emaiString;
    }

    public void setEmaiString(String emaiString) {
        this.emaiString = emaiString;
    }

    public String getHas_card() {
        return has_card;
    }

    public void setHas_card(String has_card) {
        this.has_card = has_card;
    }

    public ArrayList<String> getImgidArrayList() {
        return imgidArrayList;
    }

    public void setImgidArrayList(ArrayList<String> imgidArrayList) {
        this.imgidArrayList = imgidArrayList;
    }



}
